import request from "@/router/requer.js";

//登录二维码
export function ticket(data) {
  return request({
    url: "/api/wechat/login",
    method: "get",
    params: data,
  }); 
}

//判断是否登录
export function isLogin(data) {
  return request({
    url: "/api/wechat/isLogin",
    method: "get",
    params: data,
  });
}

//手机号校验
export function bindmobile(data) {
  return request({
    url: "/api/wechat/send",
    method: "post",
    data,
  });
}


//
export function checkcode(data) {
  return request({
    url: "/api/wechat/checkcode",
    method: "post",
    data,
  });
}





